import './header_user_logged.html';

Template.header_user_logged.helpers({
  username(){
      return  Meteor.user().username;

  }
});


Template.header_user_logged.events({
  'click .user-exit'(event, instance){
    Meteor.logout();
    FlowRouter.go('App.login');
    FlashMessages.sendSuccess("您已经安全退出");
  }
});
